
{if $okMessage}<h1>{$okMessage}</h1>{/if}

{if $errorMessage}<h1>{$errorMessage}</h1>{/if}

<form id="feedbackForm" name="feedbackForm" method="post" action="{$currentUrl}">
	<input id="feedbackCaptcha" name="send" type="hidden" value="0" />
	<table cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td> Pealkiri: </td>
			<td><input name="headline" type="text" value="{$smarty.post.headline}"/></td>
		</tr>
		<tr>
			<td> Email: </td>
			<td><input name="email" type="text" value="{$smarty.post.email}"/></td>
		</tr>
		<tr>
			<td> Email uuesti: </td>
			<td><input name="emailAgain" type="text" value="{$smarty.post.emailAgain}"/></td>
		</tr>
		<tr>
			<td> Sisu: </td>
			<td><textarea name="contents">{$smarty.post.contents}</textarea></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td><input value="Saada" name="send" type="button" onClick="document.getElementById('feedbackCaptcha').value='1'; document.getElementById('feedbackForm).submit()" /></td>
		</tr>
	</table>
</form>
